<?php
$this->breadcrumbs = array(
	'Offices'=>array('index'),
	$model->name,
);

$this->menu = array(
	array('label'=>'List Office', 'url'=>array('index')),
	array('label'=>'Create Office', 'url'=>array('create')),
	array('label'=>'Update Office', 'url'=>array('update', 'id'=>$model->_id)),
	array(
		'label'=>'Delete Office',
		'url'=>'#',
		'linkOptions'=>array(
			'submit'=>array('delete', 'id'=>$model->_id),
			'confirm'=>'Are you sure you want to delete this item?'
		)
	),
	array('label'=>'Manage Office', 'url'=>array('admin')),
);
?>

<h1>View Office #<?php echo $model->_id; ?></h1>

<?php
$this->widget(
	'zii.widgets.CDetailView',
	array(
	'data'=>$model,
	'attributes'=>array(
		array(
			'label'=>$model->type,
			'type'=>'raw',
			'value'=>$model->name
		),
		'address',
		array(
			'label'=>$model->cityType,
			'type'=>'raw',
			'value'=>$model->city
		),
		'province',
		'phones',
		'emails',
		'urls',
		'ims',
	),
	)
);
?>
